var gulp = require('gulp'),
    less = require('gulp-less'),
    build = require('./bin/febuild/gulpfile');

gulp.task('less', function () {
    gulp.src('projects/**/*.less') //多个文件以数组形式传入
        .pipe(less())
        .pipe(gulp.dest('projects'));
});

gulp.task('watch', function () {
    gulp.watch('**/*.less', ['less']); //当所有less文件发生改变时，调用less任务
});